package com.commons;

import org.mybatis.spring.annotation.*;
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.boot.autoconfigure.jdbc.*;
import org.springframework.scheduling.annotation.*;
import springfox.documentation.oas.annotations.*;

@EnableOpenApi
@SpringBootApplication(exclude= DataSourceAutoConfiguration.class, scanBasePackages = {"com.commons.*"})
@MapperScan({"com.commons.*.mapper"})
@EnableScheduling
public class CommonWebApplication {
    public static void main(String[] args) {
        System.setProperty("spring.cloud.bootstrap.enabled", "true");
        SpringApplication.run(CommonWebApplication.class, args);
    }
}
